package jy.hibernate.beans;

import java.util.Set;

/**
 * Region_info entity
 * @author tingzi
 *
 */
public class Region_info implements java.io.Serializable{

	private static final long serialVersionUID = 2764851422131985837L;
	//Fields
	private Integer region_id;//��λid
	private String region_name;//��λ��
	private Store_info store;//����ֿ�
	private Integer shelf_type=0;//ƽ��0��b��1��Ĭ��Ϊ0
	private Integer Shelf_num=0;//��ܵĸ���
	private Float 	region_left;//
	private Set<Shelf_info> shelfs;
	private Set<Store_product> store_products;
	private Set<Input_detail> input_details;
	private Set<Output_detail> output_details;
	private Set<Predict_info> predict_infos;
	public Set<Input_detail> getInput_details() {
		return input_details;
	}
	public void setInput_details(Set<Input_detail> input_details) {
		this.input_details = input_details;
	}
	public Set<Store_product> getStore_products() {
		return store_products;
	}
	public void setStore_products(Set<Store_product> store_products) {
		this.store_products = store_products;
	}
	public Set<Shelf_info> getShelfs() {
		return shelfs;
	}
	public void setShelfs(Set<Shelf_info> shelfs) {
		this.shelfs = shelfs;
	}
	public Integer getRegion_id() {
		return region_id;
	}
	public void setRegion_id(Integer region_id) {
		this.region_id = region_id;
	}
	public String getRegion_name() {
		return region_name;
	}
	public void setRegion_name(String region_name) {
		this.region_name = region_name;
	}
	public Store_info getStore() {
		return store;
	}
	public void setStore(Store_info store) {
		this.store = store;
	}
	public Integer getShelf_type() {
		return shelf_type;
	}
	public void setShelf_type(Integer shelf_type) {
		this.shelf_type = shelf_type;
	}
	public Integer getShelf_num() {
		return Shelf_num;
	}
	public void setShelf_num(Integer shelf_num) {
		Shelf_num = shelf_num;
	}
	public Float getRegion_left() {
		return region_left;
	}
	public void setRegion_left(Float region_left) {
		this.region_left = region_left;
	}
	/** full constructor */
	public Region_info(String region_name,Store_info store,Integer shelf_type,Integer shelf_num){
		this.region_name=region_name;
	    this.store=store;
		this.shelf_type=shelf_type;
		this.Shelf_num=Shelf_num;
	}
	public String toString(){
		return "region_name:"+region_name+"/tstore:"+store.getStore_name()+"/tshelf_type:"+shelf_type
		       +"/tShelf_num:"+Shelf_num+"/tregion_left:"+region_left;
	}
	public Set<Output_detail> getOutput_details() {
		return output_details;
	}
	public void setOutput_details(Set<Output_detail> output_details) {
		this.output_details = output_details;
	}
	public Set<Predict_info> getPredict_infos() {
		return predict_infos;
	}
	public void setPredict_infos(Set<Predict_info> predict_infos) {
		this.predict_infos = predict_infos;
	}


}
